<?php
use frontend\assets\AppAsset;
use yii\helpers\Url;
use yii\bootstrap\ActiveForm;

AppAsset::register($this);
$this->title = '我的优惠券';
$this->params['breadcrumbs'][] = $this->title;
$image_bath_url = Yii::$app->params['imageBathUrl'];
?>
<?php
AppAsset::addCss($this,$image_bath_url."/static/pc/css/common/font-awesome-4.7.0/css/font-awesome.min.css");
AppAsset::addCss($this,$image_bath_url."/static/pc/css/user-center/user-center.css");
AppAsset::addCss($this,$image_bath_url."/static/pc/css/user-center/user-center-yhj.css");
?>
    <section class="user_center_wrap mt50">
        <div class="w">
            <div class="user_center_title br4">
                <h1 class="h1">会员中心</h1>
            </div>
            <div class="user-center-w mt">
                <?= $this->render('customer-menu') ?>
                <div class="user-center-right">
                    <!-- 有效的优惠劵 -->
                    <div class="user_yhj_ok" >
                        <div class="user_yhj_title">
                            <h2>我的优惠劵 (<span>100</span>)</h2>
                            <a href="javascript:;" class="link-text" id="t-1">查看无效优惠劵> </a>
                        </div>
                        <div class="user_yhj_list mt30">
                            <ul class="user_yhj_item">
                                <li class="item y_500">
                                    <div class="item_info">
                                        <h1 class=" yhj_price"><span class="h1">500</span>元</h1>
                                        <span class="yhj_price_go">满1000元减500劵</span>
                                        <time class="yhj_time">2017.07.24 - 2017.07.29</time>
                                    </div>
                                    <div class="item_layer">
                                        <p class="yhj_info  yhj_info_hide">
                                            全场通用；限时限购商品除外；全场
                                            通用；限时限购商品除外；
                                        </p>
                                        <span class="icon fa fa-angle-down "></span>
                                    </div>
                                </li>
                                <li class="item j_8">
                                    <h1 class=" yhj_price"><span class="h1">八</span>折</h1>
                                    <span class="yhj_price_go">八折直减</span>
                                    <time class="yhj_time">2017.07.24 - 2017.07.29</time>
                                    <div class="item_layer">
                                        <p class="yhj_info  yhj_info_hide">
                                            全场通用；限时限购商品除外；全场
                                            通用；限时限购商品除外；
                                        </p>
                                        <span class="icon fa fa-angle-down "></span>
                                    </div>
                                </li>
                                <li class="item y_500">
                                    <h1 class=" yhj_price"><span class="h1">500</span>元</h1>
                                    <span class="yhj_price_go">满1000元减500劵</span>
                                    <time class="yhj_time">2017.07.24 - 2017.07.29</time>
                                    <div class="item_layer mt20">
                                        <p class="yhj_info  yhj_info_hide">
                                            全场通用；限时限购商品除外；全场
                                            通用；限时限购商品除外；
                                        </p>
                                        <span class="icon fa fa-angle-down "></span>
                                    </div>
                                </li>
                                <li class="item j_8">
                                    <h1 class=" yhj_price"><span class="h1">八</span>折</h1>
                                    <span class="yhj_price_go">八折直减</span>
                                    <time class="yhj_time">2017.07.24 - 2017.07.29</time>
                                    <div class="item_layer ">
                                        <p class="yhj_info  yhj_info_hide">
                                            全场通用；限时限购商品除外；全场
                                            通用；限时限购商品除外；
                                        </p>
                                        <span class="icon fa fa-angle-down "></span>
                                    </div>
                                </li>
                            </ul>
                        </div>
                    </div>

                    <!-- 无效的优惠劵 -->
                    <div class="user_yhj_error">
                        <div class="user_yhj_title">
                            <h2>我的优惠劵 (<span>100</span>)</h2>
                            <a href="javascript:;" class="link-text" id="t-2">< 返回有效优惠劵 </a>
                        </div>
                        <div class="user_yhj_list mt30">
                            <ul class="user_yhj_item">
                                <li class="item y_500 j_error">
                                    <h1 class=" yhj_price"><span class="h1">500</span>元</h1>
                                    <span class="yhj_price_go">满1000元减500劵</span>
                                    <time class="yhj_time">2017.07.24 - 2017.07.29</time>
                                    <div class="item_layer ">
                                        <p class="yhj_info  yhj_info_hide">
                                            全场通用；限时限购商品除外；全场
                                            通用；限时限购商品除外；
                                        </p>
                                        <span class="icon fa fa-angle-down "></span>
                                    </div>
                                </li>
                                <li class="item j_8 j_error">
                                    <h1 class=" yhj_price"><span class="h1">八</span>折</h1>
                                    <span class="yhj_price_go">八折直减</span>
                                    <time class="yhj_time">2017.07.24 - 2017.07.29</time>
                                    <div class="item_layer ">
                                        <p class="yhj_info  yhj_info_hide">
                                            全场通用；限时限购商品除外；全场
                                            通用；限时限购商品除外；
                                        </p>
                                        <span class="icon fa fa-angle-down "></span>
                                    </div>
                                </li>
                                <li class="item y_500 j_error">
                                    <h1 class=" yhj_price"><span class="h1">500</span>元</h1>
                                    <span class="yhj_price_go">满1000元减500劵</span>
                                    <time class="yhj_time">2017.07.24 - 2017.07.29</time>
                                    <div class="item_layer ">
                                        <p class="yhj_info  yhj_info_hide">
                                            全场通用；限时限购商品除外；全场
                                            通用；限时限购商品除外；
                                        </p>
                                        <span class="icon fa fa-angle-down "></span>
                                    </div>
                                </li>
                                <li class="item j_8 j_error">
                                    <h1 class=" yhj_price"><span class="h1">八</span>折</h1>
                                    <span class="yhj_price_go">八折直减</span>
                                    <time class="yhj_time">2017.07.24 - 2017.07.29</time>
                                    <div class="item_layer ">
                                        <p class="yhj_info  yhj_info_hide">
                                            全场通用；限时限购商品除外；全场
                                            通用；限时限购商品除外；
                                        </p>
                                        <span class="icon fa fa-angle-down "></span>
                                    </div>
                                </li>
                            </ul>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>
<?php
AppAsset::addJs($this,$image_bath_url."/static/pc/js/user-center-yhj.js");
?>